/* eslint-disable import/no-extraneous-dependencies */
import { configure } from "@storybook/vue";
import "bootstrap/dist/css/bootstrap.css";
import "bootstrap-vue/dist/bootstrap-vue.css";
import BootstrapVue from "bootstrap-vue";
import "ionicons-npm/css/ionicons.min.css";
import Vue from "vue";
import Vuex from "vuex"; // Vue plugins

import { sync } from "vuex-router-sync";
import VueAxios from "vue-axios";
import axios from "axios";
import VueAuth from "@websanova/vue-auth";
import { save } from "@/service/api";
Vue.config.productionTip = false;
// 添加调试功能
Vue.config.devtools = true;
Vue.use(BootstrapVue);
// Install Vue plugins.
Vue.use(Vuex);
const req = require.context("../../src/stories", true, /.stories.js$/);

function loadStories() {
  req.keys().forEach(filename => req(filename));
}

configure(loadStories, module);
